package designPattern.factory.sampleFactory;

public class Magnate {

	/**
	 * 简单工厂模式(Simple Factory)
	 * @param args
	 */
	public static void main(String[] args) {
		Car car=Driver.driveCar("benz");
		car.drive();
	}

}
